/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.farmcode.api.runtime;

import com.farmcode.api.parser.ParserEngineAPI;
import com.farmcode.api.runtime.FARMCodeContext;
import com.farmcode.api.runtime.BaseResponse;
import com.farmcode.api.runtime.Event;
import com.farmcode.api.runtime.database.DatabaseExplorerAPI;

/**
 *
 * @author oiprado
 */
public class BaseEvent <T> implements Event<T> {
  protected Response<T> response =  new BaseResponse<T>();
  protected ParserEngineAPI parserEngineAPI;
  protected DatabaseExplorerAPI databaseExplorerAPI;
  
  @Override
  public Response<T> excecute(FARMCodeContext context) {
    throw new UnsupportedOperationException("Not supported yet.");
  }

  /**
   * @param parserEngineAPI the parserEngineAPI to set
   */
  public void setParserEngineAPI(ParserEngineAPI parserEngineAPI) {
    this.parserEngineAPI = parserEngineAPI;
  }

  /**
   * @param databaseExplorerAPI the databaseExplorerAPI to set
   */
  public void setDatabaseExplorerAPI(DatabaseExplorerAPI databaseExplorerAPI) {
    this.databaseExplorerAPI = databaseExplorerAPI;
  }
  
}
